﻿@model IEnumerable<WhereAmiMvc.Entities.DailyLogs>

@{
    ViewBag.Title = "Details";
    <script language="javascript" type="text/javascript" src="/My97DatePicker/WdatePicker.js"></script>
}

<h2>Details</h2>

<p>
    @Html.TextBox("dt", "", new { @class = "form-control", @onclick = "WdatePicker()" })
</p>
@Html.TextBox("v", "", new { @class = "form-control" })
<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.IdEmployee)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DTdetails)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.location)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Fh)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Discription)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.IdEmployee)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DTdetails)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.location)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Fh)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Discription)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.idDailyLogs }) |
            @Html.ActionLink("Details", "Details", new { id=item.idDailyLogs }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.idDailyLogs })
        </td>
    </tr>
}

</table>
